package com.hupun.mybatis.mapper;

import java.util.Collection;

import org.springframework.stereotype.Component;

import com.hupun.mybatis.pojo.ProductsClassification;

@Component
public interface ProductsClassificationMapper {
	Collection<ProductsClassification> selectByParentId();

	Collection<ProductsClassification> getChilds(String productId);

	void insertClass(ProductsClassification productsClassification);

	void updateClass(ProductsClassification productsClassification);

	void deletedClass(String productId);
}